<?php
$class_a = $_SERVER['PHP_SELF'];
$class_a = explode('/',$class_a);
if(empty($class_a[2])){
    $class_a[2] = 1;
    $class_a[3] = 1;
}
$class_a_s = $class_a[2].'/'.$class_a[3];

?>
<li class="pullDown_li pullDown_li11 <?php  echo ($class_a[2] == 'sendsub' && $class_a[3] != 'index') ? 'pullDown_li_color' : '';?>">
<!--    --><?php //if($class_a[2] == 'sendsub'){
//        $title = array(
//            'work_complete'=>'<span class="pullDown_span">综合</span>(各岗位任务完成情况)',
//            'get_mapdone'=>'<span class="pullDown_span">综合</span>(各作业网格任务完成情况)',
//        );
//        echo empty($title[$class_a[3]]) ?     '  <span class="pullDown_span">综合</span>(各岗位任务完成情况)':$title[$class_a[3]];
//    }else{?>
        <span class="pullDown_span">综合                                         </span>
<!--    --><?php //} ?>


<ul class="pullDown_ul2">
    <!-- <li class="pullDown_ul2_ul1_li"><a href="###"><span class="pullDown_span">作业完成情况&nbsp;<b class="arrow">▶</b></span></a>
    <ul class="pullDown_ul2_ul1"> -->
            <li><a href="<?php echo site_url('sendsub/work_complete')?>"><span class="pullDown_span">接发车岗位任务完成情况</span></a></li>
            <li><a href="<?php echo site_url('sendsub/get_device')?>"><span class="pullDown_span">设备巡检任务完成情况</span></a></li>
   <!--  </ul>
    </li> -->
    <li><a href="<?php echo site_url('sendsub/get_mapdone')?>"><span class="pullDown_span">各作业网格任务完成情况</span></a></li>
    <li><a href="<?php echo site_url('sendsub/get_all')?>"><span class="pullDown_span">统计表汇总</span></a></li>
</ul>
    
</li>
<li class="pullDown_li pullDown_li2 <?php  echo $class_a[2] == 'device' ? 'pullDown_li_color' : '';?>">
<!--    --><?php //if($class_a[2] == 'device'){
//        $title = array(
//            'mapdevice'=>'<span class="pullDown_span">设备</span>(网格设备总数及损坏次数)',
//            'postwork'=>'<span class="pullDown_span">设备</span>(各维修岗位工作量)',
//            'devicetype'=>'<span class="pullDown_span">设备</span>(设备故障统计)',
//            'bztime'=>'<span class="pullDown_span">设备</span>(维修标准时间完成)',
//        );
//   echo empty($title[$class_a[3]]) ?     '<span class="pullDown_span">设备</span>(网格设备总数及损坏次数)':$title[$class_a[3]];
//    }else{?>
    <span class="pullDown_span">设备                                             </span>
<!--   --><?php //} ?>

    <ul class="pullDown_ul3">
        <li><a href="<?php echo site_url('device/mapdevice')?>"><span class="pullDown_span">各网格内设备故障统计</span></a></li>
        <li><a href="<?php echo site_url('device/postwork')?>"><span class="pullDown_span">各维修岗位工作量</span></a></li>
        <li><a href="<?php echo site_url('device/devicetype')?>"><span class="pullDown_span">设备故障数统计</span></a></li>
        <li><a href="<?php echo site_url('device/bztime')?>"><span class="pullDown_span">维修标准时间完成率</span></a></li>
        <li><a href="<?php echo site_url('device/chance')?>"><span class="pullDown_span">维修人员合格率</span></a></li>
    </ul>
</li>
<li class="pullDown_li  " ><a href="<?php echo site_url('sendsub/index')?>"><span class="pullDown_span <?php  echo ($class_a[2] == 'sendsub' && $class_a[3] == 'index') ? 'pullDown_li_color' : '';?>">人员</span></a></li>
<!-- <li class="pullDown_li " ><a href="<?php echo site_url('quantification/index')?>"><span class="pullDown_span  <?php  echo $class_a[2] == 'quantification' ? 'pullDown_li_color' : '';?>">量化考核</span></a></li>
 -->


<li class="pullDown_li pullDown_li3 <?php  echo $class_a[2] == 'quantification' ? 'pullDown_li_color' : '';?>">
<!--    --><?php //if($class_a[2] == 'device'){
//        $title = array(
//            'mapdevice'=>'<span class="pullDown_span">设备</span>(网格设备总数及损坏次数)',
//            'postwork'=>'<span class="pullDown_span">设备</span>(各维修岗位工作量)',
//            'devicetype'=>'<span class="pullDown_span">设备</span>(设备故障统计)',
//            'bztime'=>'<span class="pullDown_span">设备</span>(维修标准时间完成)',
//        );
//   echo empty($title[$class_a[3]]) ?     '<span class="pullDown_span">设备</span>(网格设备总数及损坏次数)':$title[$class_a[3]];
//    }else{?>
    <span class="pullDown_span">量化考核                                             </span>
<!--   --><?php //} ?>

    <ul class="pullDown_ul4">
        <li><a href="<?php echo site_url('quantification/get_leader')?>"><span class="pullDown_span">干部网格巡视统计</span></a></li>
        <li><a href="<?php echo site_url('quantification/get_worker')?>"><span class="pullDown_span">职工网格巡视统计</span></a></li>
        <li><a href="<?php echo site_url('quantification/get_assign')?>"><span class="pullDown_span">网格巡视情况统计</span></a></li>
    </ul>
</li>
